package cn.sccl.dirms.topo.service.impl;

import cn.sccl.common.dao.BaseDAO;
import cn.sccl.common.service.impl.BaseManagerImpl;
import cn.sccl.dirms.topo.dao.DiscoveryResultDAO;
import cn.sccl.dirms.topo.model.DiscoveryResult;
import cn.sccl.dirms.topo.service.DiscoveryResultManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 存储拓扑发现结果，以json格式存储，每次发现存储一次记录 的Manager实现类
 * Created by julei on 2017-10-17.
 */
@Service
public class DiscoveryResultManagerImpl extends BaseManagerImpl<DiscoveryResult> implements DiscoveryResultManager {

    @Autowired
    private DiscoveryResultDAO discoveryResultDAO;

    public DiscoveryResultDAO getDiscoveryResultDAO() {
        return discoveryResultDAO;
    }

    @Override
    public BaseDAO<DiscoveryResult> getBaseDAO() {
        return getDiscoveryResultDAO();
    }
}